package com.k.base.jdk.exception;

public class Test {
    private void test1(int i){
        if (i==0){
            throw new MyUncheckException();
        }
    }
    private void test2(int i) throws MyCheckException {
        if(i==0){
            throw new MyCheckException();
        }
    }

    public static void main(String[] args) {
        new Test().test1(0);
        throw new IllegalArgumentException();

    }
}
